package moe.oil.exception.user;

import moe.oil.exception.ErrorType;
import moe.oil.exception.ServiceException;
import org.springframework.http.HttpStatus;


public class EmailNotFoundException extends ServiceException {
    public EmailNotFoundException(String email) {
        super(
                String.format("Email %s not found", email),
                HttpStatus.NOT_FOUND,
                ErrorType.INVALID,
                email);
    }
}
